﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business_Objects
{
    public class BienLaiTra
    {

        private Guid _id;
        private Guid _studentID = Guid.Empty;
        private Guid _schoolYearID = Guid.Empty;
        private Guid _classID = Guid.Empty;
        private string _so = String.Empty;
        private DateTime _ngay;
        private int _traThang;
        private decimal _tongtien;
        private int _schoolID;

        public BienLaiTra()
        {
        }

        public BienLaiTra( Guid _id,
         Guid _studentID ,
         Guid _schoolYearID ,
         Guid _classID,
         string _so,
         DateTime _ngay,
         int _traThang,
         decimal _tongtien,
         int _schoolID)
        {
            Id = _id;
            StudentID = _studentID;
            SchoolYearID = _schoolYearID;
            ClassID = _classID;
            So = _so;
            Ngay = _ngay;
            TraThang = _traThang;
            Tongtien = _tongtien;
            SchoolID = _schoolID;
        }
        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public Guid StudentID
        {
            get { return _studentID; }
            set { _studentID = value; }
        }

        public Guid SchoolYearID
        {
            get { return _schoolYearID; }
            set { _schoolYearID = value; }
        }

        public Guid ClassID
        {
            get { return _classID; }
            set { _classID = value; }
        }

        public string So
        {
            get { return _so; }
            set { _so = value; }
        }

        public DateTime Ngay
        {
            get { return _ngay; }
            set { _ngay = value; }
        }

        public int TraThang
        {
            get { return _traThang; }
            set { _traThang = value; }
        }

        public decimal Tongtien
        {
            get { return _tongtien; }
            set { _tongtien = value; }
        }

        public int SchoolID
        {
            get { return _schoolID; }
            set { _schoolID = value; }
        }
        #endregion
    }
}
